package com.mdd.maduoduo.utils;

import android.view.View;

import androidx.annotation.NonNull;
import androidx.recyclerview.widget.RecyclerView;

public class CommonViewHolder extends RecyclerView.ViewHolder{

    public CommonViewHolder(@NonNull View itemView) {
        super(itemView);
    }

    /**
     * 获取 View
     */
    public <T extends View> T getView(int viewId) {
        return itemView.findViewById(viewId);
    }
}
